﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace JuCheap.Core.Models.ViewModels
{
    public class ShowPushModel
    {
        public int Id { get; set; }
        [Display(Name = "内容")]
        [Required(ErrorMessage = Message.Required)]
        [MinLength(2, ErrorMessage = Message.MinLength)]
        [MaxLength(200, ErrorMessage = Message.MaxLength)]
        public string Contents { get; set; }
        [Display(Name = "内容")]
        [Required(ErrorMessage = Message.Required)]
        [MinLength(2, ErrorMessage = Message.MinLength)]
        [MaxLength(200, ErrorMessage = Message.MaxLength)]
        public string Texts { get; set; }
        public bool Push { get; set; }
    }
}
